package com.book.bookmanager.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.book.bookmanager.pojo.UserRole;

import java.util.List;

public interface UserRoleMapper extends BaseMapper<UserRole> {
    void insertUserRole(UserRole userRole);

    List<UserRole> selectRoleList(LambdaQueryWrapper<UserRole> wrapper);

    void deleteByUserName(LambdaQueryWrapper<UserRole> wrapper);
}
